package com.qianya.model.pojo.login.qo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.qianya.model.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lhl
 * @since 2020-07-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="LoginUsersPermission对象", description="")
public class LoginUsersPermissionQO extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "P_ID", type = IdType.UUID)
    private String pId;

    @ApiModelProperty(value = "父节点id")
    @TableField("P_P_ID")
    private String pPId;

    @ApiModelProperty(value = "名称")
    @TableField("P_NAME")
    private String pName;

    @ApiModelProperty(value = "url")
    @TableField("P_URL")
    private String pUrl;

    @ApiModelProperty(value = "类型 0菜单1按钮")
    @TableField("P_TYPE")
    private Integer pType;

    @ApiModelProperty(value = "图标")
    @TableField("P_ICON")
    private String pIcon;

    @ApiModelProperty(value = "上下级关系")
    @TableField("P_LEVEL")
    private String pLevel;

    @ApiModelProperty(value = "是否删除")
    @TableField("P_DELETE")
    private Boolean pDelete;

    @ApiModelProperty(value = "排序")
    @TableField("P_ORDER")
    private Integer pOrder;



}
